<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>

    <meta name="description" content="${channelTdkVO.data.channelKeyword?default("")}">
    <meta name="keywords" content="${channelTdkVO.data.channelDescriptions?default("")}">
    <title>
        <#if (channelTdkVO.data.channelTitle) ?? >
            ${channelTdkVO.data.channelTitle}-政府采购信息网
        <#else>
            政府采购信息网
        </#if>
     </title>

    <link rel="icon" href="/web/img/favicon.ico">
    <link rel="shortcut icon" href="/web/img/favicon.ico">
    <link rel="icon" href="/web/img/favicon.ico">
    <link rel="stylesheet/less" href="/web/css/tag-list.less">
    <script src="/web/lib/less.min.js"></script>
    <script src="/web/lib/jquery-1.12.4.min.js"></script>
    <script src="/web/public/public.js"></script>

    <link rel="stylesheet" href="/web/css/page_a.css">
    <script src="/web/lib/page_a.js"></script>
</head>
<body>
<div class="container">
    <!--这里引入header-->
    <!--#include virtual="/web/html/header/header.htm"-->
    <div id="main">
        <div class="left">
            <h2 class="position">
                <a href="${domain}" target="_blank">首页</a> -> <span>${column!}</span>
            </h2>
            <ul class="content-list">
                   <#list  result.data.list as item>
                       <li>
                           <#if item.articleImage?? && item.articleImage != ''>
                               <div class="left">
                                   <a target="_blank" href='
                            <#if item.articleOutLinkStatus==0>
                                ${item.articleUrl!}
                            <#else>
                                ${item.articleOutLink!}
                            </#if>
                            ' title="${item.articleTitle}">
                                       <img src='${item.articleImage}' alt='${item.articleTitle}'>
                                   </a>
                               </div>
                           </#if>
                           <div class="right">
                               <div class="title">
                                   <a target="_blank" href='
                                <#if item.articleOutLinkStatus==0>
                                    ${item.articleUrl!}
                                <#else>
                                    ${item.articleOutLink!}
                                </#if>
                                ' title="${item.articleTitle}"> ${item.articleTitle!}</a>
                               </div>
                               <p> </p>
                               <div class="info">
                                   <i class="iconfont icon-shijian"></i>
                                   <span><#if (item.articleReleaseTime)??>${item.articleReleaseTime?string('yyyy-MM-dd')}<#else> </#if>
                                </span>
                                   <#list item.articleKeywords as la>
                                       <a href="${la.domain}/web/tagList/1.html?tag=${la.label}" class="tag" title="${la.label}" target="_blank">${la.label!}</a>
                                   </#list>
                               </div>
                           </div>
                       </li>
                   </#list>
            </ul>



            <!-- 分页 -->
            <div class="page-box">
                <!-- 上一页 -->
                <div class="page-prv">
                    <#if (result.data.pageNum) gt 1 >
                        <a href="/web/headerList/${result.data.prePage}.html?id=${plateIds}&column=${column!}" title="上一页"> < 上一页 </a>
                    <#else>
                        <a href="javascript:;" title="上一页"> < 上一页 </a>
                    </#if>
                </div>
                <div id="page">

                </div>
                <!-- 下一页 -->
                <div class="page-next">
                    <#if (result.data.pageNum) lt (result.data.pages)>
                        <a href="/web/headerList/${result.data.nextPage}.html?id=${plateIds}&column=${column!}" title="下一页"> 下一页 > </a>
                    <#else>
                        <a href="javascript:;" title="下一页"> 下一页 > </a>
                    </#if>
                </div>
            </div>
         </div>
        <#--        <div class="list-pagination"></div>-->
        <div class="right">
            <!--#include virtual="/web/html/fragment/public/video-classroom.htm"-->
            <!--#include virtual="/web/html/fragment/public/audio-column.htm"-->
            <!--#include virtual="/web/html/fragment/home/right-boutique.htm"-->
            <!--#include virtual="/web/html/fragment/home/right-hot-search.htm"-->
            <!--#include virtual="/web/html/fragment/home/ad-list-one.htm"-->
            <!--#include virtual="/web/html/fragment/home/ad-list-two.htm"-->
        </div>
    </div>
    <!--#include virtual="/web/html/footer/footer.htm"-->
</div>
<script>
    $(function(){
        let totalCount = ${(result.data.total)!}; // 数据总条数
        let pageSize = ${(result.data.pageSize)!}; // 每页的数据条数
        let pathUrl = '/web/headerList/'; // url
        let currentPage = ${(result.data.pageNum)!}; // 当前页
        let endUrl = '.html?id=${plateIds}&column=${column!}'; // 结尾html

        let pageContent = parseInt(((totalCount-1)/pageSize)+1);  //分页总数
        $("#page").Page({
            totalPages: pageContent,
            pathUrl: pathUrl,
            currentPage: currentPage,
            endUrl: endUrl
        });
    })
</script>
</body>
</html>